<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" href="css/bootstrap.min.css" />
  </head>
  
  <body>
    <%@ include file = "top.jsp"  %>
    <div class="container">
		<div class="row">
			<div class="span3">
				<div class="well" style="padding: 8px 0;margin-top:70px;" >
					<ul class="nav nav-list">
						<li class="nav-header">${sessionScope.pu.project.name }</li>
						<li>${sessionScope.user.username }:${sessionScope.pu.role }</li>
						<li class="divider"></li>
						<li><a href="project.jspx?id=${sessionScope.pu.projectid }"><i class="icon-home"></i>最新动态</a></li>
						<li><a href="goal.jspx"><i class="icon-flag"></i>目标</a></li>
						<li class="active"><a href="document.jspx"><i class="icon-folder-open icon-white"></i>资料库</a></li>
						<li ><a href="file.jspx"><i class="icon-file"></i>文件共享</a></li>
						<li ><a href="contact.jspx"><i class="icon-user"></i>联系人</a></li>
						<li><a href="idea.jspx"><i class="icon-fire"></i>想法</a></li>
						<li><a href="#"><i class="icon-warning-sign"></i>Bug</a></li>
						<li><a href="main.jspx?m=editProject&id=${pu.projectid }"><i class="icon-cog"></i>项目设置</a></li>
					</ul>
				</div>
			</div>
			<div class="span9">
				<form action="document.jspx?m=edit" method="post" style="margin-top:90px;">
					<fieldset>
						<legend>编辑资料</legend>
						<div class="control-group">
							<label for="input01" class="control-label">标题</label>
							<div class="controls">
								<input type="text" class="span9" name="name" value="${doc.name }"style="height:28px"/>
							</div>							
						</div>
						
						<div class="control-group">
							<label for="input01" class="control-label">内容</label>
							<div class="controls">
								<textarea cols="30" rows="15" name="cont" class="span9">${doc.cont }</textarea>
							</div>
						</div>
						<input type="hidden" name="id" value="${doc.id }"/>
						<div class="form-actions">
							<button type="submit" class="btn btn-primary">保存</button>
							<a class="btn" href="document.jspx">返回</a>
						</div>
					</fieldset>
				</form>		
			</div>
		</div>
	</div>
  </body>
</html>
